package com.gregbugaj.tabwidget;

import android.os.Bundle;
import android.widget.TextView;

public class Two extends android.app.Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		TextView txt=new TextView(this);
		txt.setText("TWO");
		
		TabHostProvider tabProvider=new CustomTabHostProvider(this);
		TabHost tabHost=tabProvider.getTabHost("main");
		tabHost.setCurrentView(txt);
		Tab t=tabHost.getTab("HELP");
		t.setSelected(true);
		setContentView(tabHost.render());
	}
}
